interface Rating {
  avatar: string;
  rateTime: number;
  rateType: number;
  text: string;
  username: string;
}

export interface Foods {
  category: string;
  ctime: string;
  goodsDesc: string;
  id: number;
  imgUrl: string;
  name: string;
  price: number;
  rating: number;
  ratings: Array<Rating>;
  sellCount: number;
  num?: number;
}

export interface GoodsData {
  name: string;
  foods: Array<Foods>;
}

export interface SeatObj {
  index: number;
  min: number;
  max: number;
}
